package com.factory.iamp.service;

import com.factory.iamp.pojo.QuestionManager;
import com.factory.iamp.utils.helper.PageHelper;

import java.util.List;

public interface QuestionService {
    int QueryCount(String QueryStr);

    List<QuestionManager> QueryListPaged(PageHelper data, String QueryStr);

    void addQuestionRecord(
            String name, String department, String product_type, String process_type,
            String summary, String description, String method, String recorder, String file
    );

    void alterQuestionRecord(
            int qid, String name, String department, String product_type, String process_type,
            String summary, String description, String method, String recorder, String file
    );

    void deleteQuestionRecord(int qid);
}
